<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" 
           uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" 
           uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>购物车</title>
</head>
<body>
	<table width="100%" border=1>
		<tr>
			<td>商品名称</td>
			<td>商品价格</td>
			<td>生产日期</td>
			<td>保质日期</td>
			<td>类型</td>
			<td>折扣</td>
			<td>生产商</td>
			<td>尺码</td>
			<td>商品图片</td>
			<td>商品数量</td>
			<td>价格</td>
		</tr>
		<c:forEach items="${list}" var="item">
		<c:if test="${item.look!=null}">
		<tr>
		<td>${item.name}</td>
		<td>${item.price}</td>
		<td>${item.createtime}</td>
		<td>${item.limittime}</td>
		<td>${item.type}</td>
		<td>${item.discount}</td>
		<td>${item.productby}</td>
		<td>${item.size}</td>
		<td>${item.pic}</td>
		<td>${item.number}</td>
		<td><input type="button" value="+"></td>
		</tr>
		</c:if>
		</c:forEach>
		</table>
</body>
</html>